import request from '@/utils/request'

let menuApi = {
    menulist(data, errorback) {
        return request._post('/sys/menu/menuList', data, errorback);
    },
    addMenu(data,errorback){
        return request._post('/sys/menu/add', data, errorback);
    },
    updateMenu(data,errorback){
        return request._post('/sys/menu/update', data, errorback);
    },
    delAccess(data,errorback){
        return request._post('/sys/menu/delete', data, errorback);
    }
    
}
export default menuApi